package org.practice.chart;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * Flash图形插件：FusionCharts-Free，pie饼状图，column柱状图，multi-series-line曲线图
 * @author jack
 */
public abstract class FusionChart {
	/**标签<graph></graph>中定义的属性
     protected String alternateHGridAlpha="30";
     protected String alternateHGridColor="CCCCCC";
     protected String baseFontSize="12";
     protected String caption="默认标题";
     protected String divLineColor="CCCCCC";
     protected String divLineAlpha="80";
     protected String decimalPrecision="1";
     protected String hovercapbg="DEDEBE";
     protected String hovercapborder="889E6D";
     protected String numberSuffix="%";
     protected String outCnvBaseFontSize="18";
     protected String rotateNames="0";
     protected String showAlternateHGridColor="1";
     protected String showNames="";
     protected String showValues="0";
     protected String showhovercap="";
     protected String xAxisName="";
     protected String yAxisName="";
     protected String yAxisMaxValue="100";
     */

    protected String baseFontSize="12";//
    protected String caption="默认标题";//
    protected String numberSuffix="%";//
    protected String showValues="0";//
    protected String yAxisMaxValue="100";//

    public abstract String generateXML(Map<String,String[]> dataMap);
    public abstract String generateXML();

}
